Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #3638: Binary classification demo should produce LIBSVM with 0-based indexing #3652

Merged
merged 1 commit into from
Aug 30, 2018

Conversation

hcho3
Copy link
Collaborator

@hcho3 hcho3 commented Aug 30, 2018

Fixes #3638 by ensuring that feature indices start with 0, not 1.

@hcho3
Copy link
Collaborator Author

hcho3 commented Aug 30, 2018

@tqchen I'm going to assume that XGBoost uses 0-based indexing in LIBSVM by default

@hcho3 hcho3 merged commit 10c31ab into dmlc:master Aug 30, 2018
@hcho3 hcho3 deleted the binary-classify-demo-mapfeat-fix branch August 30, 2018 20:18
CodingCat pushed a commit to CodingCat/xgboost that referenced this pull request Sep 18, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Nov 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant